import axios from 'axios'

export const request = axios.create({
  baseURL: 'https://conduit.productionready.io'
})
// @ts-ignore: Unreachable code error
export default ({ store }) => {
  // console.log(store)
  request.interceptors.response.use(
    function (response) {
      return response.data
    }
  )
}
